Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quick fix to allow vapor liquid interface to accept T as function #241

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

donerancl
Copy link

VaporLiquidMassTransferInternalInterfaceConstantT raises an error when T is passed as a function of time because the construction of the kLA and kH arrays expects T to be a constant. @hwpang helped me to call the function for T when the kLA/kH arrays are constructed. Improvements could me made so that the arrays are not constructed every time the Interface is evaluated, but this works for now.

@donerancl
Copy link
Author

now VaporLiquidMassTransferInternalInterfaceConstantT expects only functions for T, I will add a type check

added check if T is a function for LiquidVaporTransferInternalInterfaceConstantT
@hwpang hwpang marked this pull request as draft November 14, 2023 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant